package com.example.netty.chatSystem.message;

import lombok.Data;

import java.io.Serializable;
@Data
public class LoginMessage extends Message1{
    public String name;
    public String password;

    public LoginMessage(String name,String password){
        this.name = name;
        this.password = password;
    }

    @Override
    public int getMessageType() {
        return 1;
    }
}
